https://nbviewer.jupyter.org/github/ricklupton/bayesian-mfa-paper