ensemble function

Run ensemble simulations