simplify d in empirical CDF
make ECDF plots for proj.median