particle swarm optimisation (PSO) algorithm in 30secs