Replaced windowed sinc interpolation with a different implementation