Fixed rotation matrix misuse.