A MCMC code in C