Digital control of linear induction motors