added bayesian blocks binning for the craic