Update Cython dist func interpolation