updated formula for power ranking