Z-Transform Electromagnetic Transient Analysis in High-Voltage Networks