Converts thermocouple voltage to temperature with linearization and cold junction compensation