Energy Stored in a Magnetic Field and Energy Density