C library for fixed point matrix, quaternion and vector calculations