Group integration for lattice gauge theory at large N and at small coupling