added function to plot heatmap-dend