fixed quaternion output