fixed bug that caused the 9,10 and 11 elements of the matrix to become zero when read