added matlab hdf5 read and write code