several 1d interpolation functions

can be easily generalized for any dimension