Particle swarm optimization library