Fundamentals of Geomagnetism