Electromagnetic Optimization by Genetic Algorithms