Energy Density In Magnetic Fields