FINITE-ELEMENT AIDED OPTIMISATION IN ELECTROMAGNETICS