remove gain calibration as standalone test; merge into scurves
try catch added
try catch added
more DAC caching and other minor changes