S-Transform based fault detection algorithm for enhancing distance protection performance