A new advanced method for assessment of waveform distortions caused by adjustable speed drives