A smooth 1d interpolator