Reset the heatmap array each time it is set to refresh.