Fixed rotation matrix to use proper matrix 2D array