Fix marginal_prob
Merge branch 'master' of github.com:morphology/pgm-project