Bayesian connectomics toolbox