Numerical Calculation of a Generalized Complete Elliptic Integral