Python Control Transfer Function Formula