Fix the Function Generator frequencies.

At some point someone must have changed the analog function
generator from 36 to 72 samples. That divided all frequencies
in half.

Also, some of the pre-scaler values don't seem to be supported
(any more).

This patch uses only every second sample when operating at
20KHz or 50KHz. The wave forms aren't as pretty, but at least
they have the correct frequency.