Arbitrary resampler seems to be working completely, but most likely is not. More tests needed.

It is way to complicated. Needs to be trimmed down. Also need to test if it is accurate enough to use accumulate a float 64 over time (assuming it is truncated to 1), instead of doing multiplications and divisions every time the filter kernel needs to be updated.