add sparse tag to two sparse matrix entries