Python Control Transfer Function To Canonical Form Definition