Added method to write output to a user-specified group of an hdf5 file.
Closed #22.
Added root node density to output dictionary. Closed #26.