Some extra FUNCTIONS from Control Tutorials for MATLAB