added hdf5 save
added save_hdf5