Implement semi-Bayesian block model inference

This includes code for expectation maximization with belief propagation
for the stochastic block model.
9 jobs for master