interpolation function

Interpolate n values between two numeric values