concepts.math.rotationlib_xyzw.mat2quat_xyzw# mat2quat_xyzw(mat)# Convert Rotation Matrix to Quaternion. See rotation.py for notes