Cleaned up code. Overrode setter/getter for Oscillator's frequency property.