Refactored notes module to be object oriented.
Updated an oscillator test to work with recent notes module refactor.
Improved flexibility of additive synthesis function. Rewrote all tests
to use the refactored notes module.