Switching model predictive control of a pneumatic artificial muscle