Application of difference equations to a square Hall plate with finite interior driving and Hall electrodes