magnetic properties of materials