Mitigation of harmonics, filters