Transmission Line Method implementation in python.