Python Control Transfer Function Definition Algebra