removed generation code from the kalman filter