Kai Yan's improved version of the thermal module
Introducing limits and recipes for assigning x-ray luminosities to halos.