Got the communication between MATLAB and the controller
working. Troubleshooted the controller a bit. Now I'm having a problem
where the controls are going unstable despite what gains I choose. M and
Cor have reasonable values, but the gains are very large.