binData function

Bin data, calculate mean and bootstrap 95 % confidence interval in the mean