Transmission line matrix methods