Graph Isomorphism - probability propn matrix loop