Python Control Transfer Function To Transform A City