A New Method to Extract Reference Currents for Shunt Active Power Filter in Three Phase Four Wire Systems