Algorithms for Induction Motor Efficiency Determination