changed find_dist_vs_core.py to plot 2d histogram