the earth's magnetic field and magnetic elements