Add ComputeConnectedComponents and Test