Made changes to code and documentation for sampling phi and sigma2s