Some quaternion helper methods