Add sampled_edges_per_document parameter (ConnectedComponents only right now)