heat conduction calculation
fixes for heat transfer problem