Converts passed rotation matrix into the quaternion.
reference to this OdGeQuaternion object.
Input matrix A must be a rotation matrix, i.e. A^T = A^-1 and det(A) = 1.