UnitOptimizer
Did some basic parallelization ( more will be difficult) and decreased the number of units per simulation. Unfortunately does it still take too long to run the whole algorithm, at least at my machine.