Cleaned up Heating code for thermal couple