complete gbest PSO, not working very well