Bug fix! The Matrix class saves the matrix in column-major order.