Added score calculation for top teams.