non frequency domain rms calculation