Algorithms for In-situ Efficiency Determination of Induction Machines