Particle Swarm Optimization (PSO) in C