Fixed artifact that happen when tone changed.  This required making sure to match the phase of the tones at each transition.