Added (untested) inference classes. The posterior class implements likelihood and maximum likelihood over a class of model random variables.