Compilable, runtime-ready implementation of basic interpolation. To be tested asap.