Calculation of Flashover Characteristics in the Electromagnetic Transients Program