quaternion-based coordinate system works