adding option in REX to do multiple rounds of optimization per output entry
removing extra code
changing plot_field_histogram() to use nice colors, legend