Implemented permutations pso. Might need to remove inertia