Added temperature map calculation