Add thermocouple support.

Theoretically, I'm done!