Skewing fixed

Also replaced rotation matrix with quaternion rotations.