Restored sinc interpolation

Sinc interpolation had been fitted with a couple of warnings, but on testing it appears to be doing as it should.
The residual problems may have been related to its use in the context of EPI distortion correction, which is now defunct.
Also some minor cleanups in associated code.
Closes #138.