update ECDF code and plots
update ECDF code for median