Minor changes towards reducing the number of warnings
Renamed some methods of the ParticleSwarm algorithm