fixed minor error

Generation of the random seed should have been placed outside of the
loop over MCMC chains. This ensures the random seed is unique for each
chain.