On a Variation Principle for Calculating the Electrical Conductivity