Signal generation now saves new par/tim file to hdf5 file. However, sometimes this crashes due to unknown reasons. Fix later, works for now