Text this: Electromagnetic Device Optimization with Stochastic Methods