Description
MatrixWritable contains inefficient code in a few places:
- type and size are stored with every vector, although they are the same for every vector
- in some places vectors are added to the matrix via assign() in places where we could directly use the instance