Still in progress -

Check sawtooth reversal code...