Starting setting up to save data in HDF5 files not Matlab files.
Functions for plotting duty cycle results
Updated to save all data in h5 files