Added squarewave-sawtooth generator