theta has been generalized
sampledDist has been replaced with likelihoodFun
added a table of likelihood functions