Adjustment of particleSwarm

using openMp, but it doesn't improve the speed as expected. Need further
adjustment.