Quaternion operations

Functions