function declarations for MCMC sampler
more unit tests