Analysis and Design of UPQC Using ANN and ANFIS