Changed behavior hdf5 file saving. Now it saves all trajectory