updated aps_runner_s_curve.cpp so that it is suitable for running
multiple runs to produce figures for paper