added script to calculate binning of differential variables