Re #9682. Added resetData method to Interpolation

Cleaned up the unit tests a bit so that it's easier to spot where errors are coming from.
Re #9682. Expanded unit tests for Interpolation

The edge-cases of an interpolation are now clearly separated and checked in a uniform way.
Re #9682. Implemented binary search

Replaced the linear search with a binary search and added unit tests.
Re #9682. Fix initializer list in unit test.
Re #9682. Handling case with one interpolation value.
Re #9682. Changed behavior of interpolation with one value

In the previous commit, I fixed the problem caused by having only one value in the interpolation table by return 0. On second thought, it makes more sense to assume a "constant interpolation" and return the one stored y-value for any x.
Merge remote-tracking branch 'origin/feature/9682_lookup_table_read_multiple_times'