Fix gasFromHdf5 (no shifting), add documentation