Method for Modeling Residual Variance in Biomedical Signals Applied to Transcranial Doppler Ultrasonography Waveforms