matlab code for induction motor modelling