Changes to fix HDF5 error loading or saving .mat files: To avoid conflicts of multiple jobs attempting to access the same file, its necessary write the output for every set of parameters in independent files.