added edge_perc=0.1 flag to run_caustic to enable easy edge changes