added batch Kalman filter