Soft Computing Techniques For The Control Of An Active Power Filter