added fout keyword to run_mcmc method, incrementally saves positions of walkers to a given file