Experimental resampling functionality

I created this branch to allow for experimenting with resampling, and in the process of doing so, added a lot more useful things to monitor resampling performance. This PR brings the additional monitoring functionality into master, along with the new modified Liu-West resampler.