First step to quaterion rotation
Try quaternions
quaternion
Oprimization of vertex shader