cleaned up code in drawHeatmap, eliminated var_names_r as now I am just reversing a slice based on andrews code elsewhere