Updated PMSM.c with LQG Controller.