code cleanup, replaced usage of deprecated scoring function with the newer ScoringFunctionAccumulator.
Authored by: mrieser 2009-05-28
Parent: [r7153]
Child: [r7155]