modified codes for drawing 2D histograms in SFH2D class.