Added multicore support for heatmap plots