Added wavetables

Instead of calling sinf, waveforms are now looked up in a wavetable
generated on startup. This was needed for the Cortex M-port.