Sources of Magnetic Fields (Class Notes)