Added more comments to GetHistogramArray.