interpolate

i is [0..len-1], interpolate from startValue to endValue

Meta