REL-1501: Storing Scale Interpolation in TPE and code cleanup.

Can you just use a rational (i.e., `Pair<Integer, Integer>` for the key? It looks like the numerator and denominator are always integral.