fix #1 sawtooth wave