Algorithm 1: Three-Point Rational Function Interpolation for Calibrating Gravity Models