A hybrid technique for multi-modal function optimisation in electromagnetics