Updated the MatLab controller. It is now time to add our new functions.