Add PSO iteration parameter, parallelize automata calculation