Added interpolate2, that is the programmatic equivalent of get-interpolant