Pade/spl acute/ boundary conditions for the finite-element modeling of arbitrary planar junctions