[add] function to remove inactives in hdf5
change and moved to HDF5 interface