Improved Active Power Filter Performance for Renewable Power Generation Systems