}
private void calculateComponents()
{
IIntGraph g = new MatrixIntGraph(T);
IntStrongConnectivity connectivity = new IntStrongConnectivity(g);
connectivity.perform();
List<IIntArray> C = connectivity.getStrongComponents();
// int[][] C = g.BFS_mult();
IIntArray complengths = Ints.create.array(C.size());
for (int i=0; i<complengths.size(); i++)
complengths.set(i, C.get(i).size());