Find the index for a target value on an array of individual values.
The target value to interpolate to.
An array of values to interpolate between.
Find the index for a target value on an array of individual values.