Proper scoring

Files are now scored appropriately. Math was incorrect before.