Fixed the ionogram resampler to give results as similar to the reference
images as possible.

Beware that the previous "new" implementations were giving completely
bad results.