Text this: Harmonics mitigation and power factor correction with a modern three-phase four-leg shunt active power filter