Added a WIP quaternion class.

The equations need to be checked and some functions added.