Simulation and sampling library for Bayesian computations