How Heatmap scores are calculated