`DenseMatrix` should be renamed to `MutableDenseMatrix` and `ImmutableDenseMatrix` should throw for methods that change the matrix.