Text this: Active Power Filtering under Unbalanced and Distorted Grid Conditions Using Modular Fundamental Element Detection Technique