pair correlation almost working - still issue with location of bin edges