updated the HDF5 format for CompartmentSpace
extended a sample for gillespie