Replacement function for gtools' heatmap.2 function. This function calculates distance after scaling in contrast to heatmap.2.