Title: Numerical optimization of electromagnetic components