Function rotationMatrixToEulerXYZ