This function interpolates values linearly between two fulcrums.
function linearInterpolation input Real x "Independent variable"; input Real y_1[:, 2] "Interpolation data"; output Real y "Dependent variable"; end linearInterpolation;