Added check to make sure we have same compression argument in hdf5 file
and arguments to create matrices