An introduction to inertial navigation