added variance and trajectories calc. changed batch to run for long time