Linear Systems: A State Variable Approach With Numerical Implementation