- added correct long table in write method matrixwriter