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