A Kalman filter for robust outlier detection