Fixed a bug in the temperature calculation.

Now all seems right with all components, including
gas rotation.