Pulled the scoring functions out of GroupScorer