Changed tone synth formula

It's now based on phase derivative, which further reduces the glitches when changing the frequency and it's much more efficient.