[Bugfix] Fix Poisson solver for global dielectric constant and d != 3.
Add liquidjunction tests.