Redesigned Individual and Population; Added test case for PSO