Updated HDF example. Work in progress.