Revert "Revert "PSO Algorithm""

This reverts commit d18f91cba872b9e796ad9a6f37d5f4e69909f8c9.