Add CalcHist and ShowHist func
Use const
Update