Software Solutions to Mitigate the Electromagnetic Emissions of Power Inverters