The quaternion functions used by rotate

The quat-sandwich is the main function q v q-1