interpolate a set of points with start and end derivatives