Numerical calculation of a generalized complete elliptic integral - Bartky, W. (Rev. Mod. Phys., 1938)