Basic php elo rating class for calculating new ratings