Use float types for the resamplers instead of double