The analysis step for the extended Kalman filter with nonlinear dynamics