Made applymcmc.py work even faster and better! (Might still break, though.)