Gravar-mail: Hybrid Invariance and Stability of a Feedback Linearizing Controller for Powered Prostheses