Time-Domain Model of Transmission Lines with Arbitrary Initial Potential and Current Distributions for Transient Analysis