1 phase power factor controller