Application of least-squares techniques for induction motor parameters estimation