Network theory for inhomogeneous thermoelectrics. (4th April 2016)