Work on nonlinear
nonlinear resampling