Added Quaternion class to library