Fix a KeyNotFoundException.
Correctly update priors.
Merge branch 'master' of https://github.com/fflewddur/IMLPlayground.git