Reference governors: Theoretical Extensions and Practical Applications.