Metropolis-Hastings algorithm

From dankwiki