implement tag API for hashed.model.matrix2