An improved quaternion-based Kalman filter for real-time tracking of rigid body orientation | Synapse