Loop calculus for lattice gauge theories.