A Novel Single-Phase Shunt Active Power Filter with a Cost Function Based Model Predictive Current Control Technique