reads in material library from hdf5 file