Moved all the angle conversion and limiting into separate functions that isolate the calculations and also clarify whether they are related to the input from the driver's station or the feedback from the linear actuator