Retrospective correction of head motion using measurements from an electromagnetic tracker | Synapse