Added draw_vs_hist
Unified histogram function