Added functionality to MCMC and sweep over log params