Math logic change for Elo formula