a simple API for working with quaternions useful for 3D rotations in computer graphics