move Interpolation to math module