Statistical calculations and Hystograms