A 3-D integral formulation coupled to a rigid nonaxisymmetric plasma model