matrix of cofactors {{1,2,0}, {2,7,-1}, {1,5,7}}