Improved Matrix tests.
Generalized to possibly disconnected graphs.
About to refactor AreIsomorphic method.