Corrected typo in matrix rotX, rotY and rotZ functions