Simulated Annealing with Restarts for the Optimization of Electromagnetic Devices