pw_estimate function

Estimate residual autocorrelation for prewhitening