Text this: Algorithm of Equivalent Inter-phase Impedance for Three-phase Unbalanced Loads and Its Applications