Efficient frequency-domain simulation of arbitrary nonuniform lossy coupled interconnects