generating a histogram of the standard deviation