Hdf5 update

Updated from v0.3.0 to v0.4.0 or higher. This PR probably resolves #4.