Wrap some quaternion math functions.