Add gain correction for quadrature modulator.

* Added a simple gain stage to the DAC conditioning circuitry.
* Test for the gain stage.
* Access to the gain coefficients in the driver and library.