added the scoring function to fix some one of the problems, but broke the p function off of someones recommendation that e is energy not math.e
Authored by: fmurray1 2014-02-09
Parent: [r1]
Child: [r3]