Effects of Magnetic Fields on Materials