A superconducting solenoid system which cancels fluctuations in the ambient magnetic field