Text this: Implementing Model-Based Variable-Structure Controllers For Robot Manipulators With Actuator Modelling