fixed indexing error in finding optimum time
set to run 6ensembles*50agents*5DOF for 300 steps which will take about 5 hours