Adding binning
Merge pull request #2 from teresa