debugged elo plotting function; calcW function