first attempt at a histogram in paircorr.py