Controlling a Single phase Induction Motor