An Algebraic Algorithm for Motor Voltage Waveform Prediction in Dual-LCI Drives With Interconnected DC-Links