Discrete mathematical models for electrical impedance tomography