Start of an example of an extended Kalman filter.