modifications, complement matrice, function comparaison