Refactored the mcmc algorithm a bit.
Fixed up the .cabal file. Hopefully the documentation will build this time.
Added the git repo to the cabal file.
Got rid of scanl' because normal scanl does not leak memory.