otSweep function

OTS–QCA: Outcome threshold sweep