This function (and `interpolateUsingFraction`) should have the option to supply a result parameter.