fixed memory leak in calibrate
improved reading binary files
speed up daq disabling TR0 digitization and block transfer