interpolation method for both 1D and 2D, scipy spline 2D doesn't work well.
Merge branch 'master' of https://github.com/licode/XRF_Alignment