fixed bad function declaration
added a reference
added help file for PlotRankhist()