moved some things around; can read HDF dataset in Matlab