A more useful relative heat map

I believe it is more important to have a relative heatmap. This means that the maximum value in the visible points should be the hottest and the minimum should be the coolests. This is done by getting the maximum and the minimum and making it get a range and an offset.