General Transmission-Line Equations