Convert Rotation Matrix To Quaternion