Properly calculates score based on efficiency.
Loose file that needs to be checked in.