The implementation and evaluation of a Kalman filter in MIAS