Removed duplication of chain thinning in autocorr.py; some cosmetic code changes.