Predictive filtering for nonlinear systems