add warning when the input of quaternion2matrix is not equal to 1