Fix Bugs in ScoreEstimate.py