More progress on problem 2; just started on HDF5 stuff.