Extensive testing of an algorithm for travelling-wave-based directional detection and phase-selection by using TWONFIL and EMTP