mat to quat added. Rotations debugged