On fractal dimension of waveforms