add GAW19 U statistic code, simplify simulation entry code.