An introduction to the kalman filter