Added function documentation to ParticleSwarmOptimizer