extract_mcmc function

Extract MCMC samples from a model fit with tmbstan.