Added docstrings.
WIP: split HDF5 path and HDF5 write capabilities.
WIP: HDF5 write.
WIP: HDF5 writing.
HDF5 writing functions done.