removed sorting and attempted to fix histogram in find_dist_vs_core.py