The Magnetic Properties of Materials