scalapy.hdf5utils.write_matrix