An extended Kalman filter for quaternion-based orientation estimation using MARG sensors | Synapse