Remove some comments from threshold search
Sort the output of a threshold vs dac scan according to the DAC values.
Minor changes to ascii plots of testpxar.
Fix segfault: end() points to element *after* last vector entry,
begin() points to *first* element. When iterating in reverse we need
to start at end()-1 and scan till begin()-1.
FIRMWARE 2.4!
Add calibration of DAC values to be programmed to smooth/flatten the
distribution. This gets rid of the range jumps when transistors are
switched/added and uses the old psi46v2 lookup table from the ATB firmware.
This is applied to all DACs, since 8bit DACs behave the same and 4bit
DACs are not affected. This behaviour can be disabled using
FLAG_DISABLE_DACCAL.