Added way of estimating bin width from data
Using better method for estimating bin with for histogram