php class for calculating elo rating