Added example to demonstrate new resampler.