msm-thermal from crpalmer: https://github.com/crpalmer/dna-kernel/commit/b8c61351e4870a005d7064318ac0ae64a33777ff