Correct a small mistake in saving matrices in 2d_parser