Fixing bugs in PsoOptimizer
Fixing bugs with random values generation