Heterogeneous integration of WBG devices and magnetic components: manufacturing and design optimisation