SMS: Bayesian methods in cosmology