Electrical resistance tomography for control applications