The application of contraction theory to an iterative formulation of electromagnetic scattering