Added support for dual thermocouples and averaging.