Adding a message box for the population in the PSO and some more testing in the variables enter by the user