Phase-Mode Transformation – Matrix Application for Transmission Line and Electromagnetic Transient Analyses