improve dynamic optimization
calculate coefficient of variation
calculate WAFOM with c
given triples (P,c,W), choose good ones
randomly scrambled nx