Fixed a bug in reading in of temperature in histogram