Kalman filter for stochastic processes