Added 2D plots to output
Modified cut optimizer, removed a repeated loop, so it should run much faster