Particle Swarm Optimization for TewiMiD (easily can be changed to MiA, MiB or MiC (you must add one more parameter - mic)