Template class for sampling from posterior
Build a template class similar to MetaModel for generating posterior samples for Bayesian inference. This class should contain all the properties and some general functions that are expected for BayesInference. The current MCMC and rejection sampling implementations should become children of this class.