Fast interpolation routines in cython