added more parameters into detector class, such as target gain/offsets, number of bits, adc gains/offset (for 7*adc). Getting voltage on capacitors from electrons; I'm happy with. Now I want to turn the capacitor voltage into an adu code, currently being worked on.
added default parameters for number of ADCs, and the gain/offset values for these which are calculated the same way as the target gains/offsets (IDEAL CASE!!). The default parameter test is complete, passed arguments also (could do setting of arguments too), nElec to capaV is untouched, capaV to vIn/gain not finished.
Added threshold voltage and coarse steps in voltage for each of seven ADCs, implemented further steps in
going from electrons produced to adc code.