Simulation works, it seems

Need extensive debugging. Most efficient way is to correlated the
reversals with a graph of all the stimulus values of the staircase.
Will work on a graphical representation of this now.