k-binning script added