Go on typing the line-by-line translation of MCMC into C++
Make random vector templated