changes to vectorOscillator