An Econometric View on the Estimation of Gravity Models and the Calculation of Trade Potentials