Computation of probabilistic connectivity matrices