Fixed IntHistogram and added comments