Message Passing for State Estimation in Nonlinear Systems