Added test code to fit a latent network to the results of a GLM (as opposed to fully Bayesian, joint inference)