closed Kalman filter formulation