Time-Varying Waveform Distortions in Power Systems