Basic quaternion, matrix and vector library for computer graphics