sullivan ran successfully at T=25000 N_ens=500; also, abstracted everything into functions so that system can be studied with different starting times and starting prices; problems with divisibility by batch_size are solved too