Added write of all parameters to data files.