Numerical methods for coupled circuit and interconnect simulations