Low frequency magnetic noise compensator