implemented more of the Quaternion class