updated initiaization to deterministic case
added mainfile and code for running theta simulations