Lot's of debugging for QEC
Added statement that inserts phase gate after trigger to correct for phase. Only happens if there is no electron pulse after RO trigger.
Added a feature that ignores phase when doing Z-readout and redefines phase at 0 after the first Z-RO pulse, option is phase == 'reset'
Meassuring commit MAR
Merge branch 'master' of https://github.com/teamdiamond/measurement