Planetary Heat and Magnetic fields