Trying new csgraph
Using scipy's connected_components for now, which will be backported next