update median results, small edits to sim code
fix(?) bug in c/d computation, update results