Source: https://www.isda.org/a/hKiDE/linear-interpolation-example.pdf