Three and Four Square Coil Systems for Producing Uniform Magnetic Fields