SP learns nonlinear dynamics in small steps