added code for running simulations under a few conditions. Very messy atm