Cold junction compensation (CJC)