Improve interpolation function to not skip values that aren't getting interpolated, add another example