The Effect of Spatially Inhomogeneous Extracellular Electric Fields on Neurons