Now writes out the matrix sizes