Some adjustments to the data interpolation function.

Try harder to avoid duplicates at the start and beginning of the data
series, and no longer clip the result at the last value, since spurious
values should now get filtered out by the netperf runner.