Theoretical Analysis of the Current Density Distribution in Electrolytic Cells