Quaternion library for C++, with python bindings via SWIG.