RFC:Change autocor

to use same mean and s.d. for both samples making it behave as the similar functions in MATLAB and R. I have also written a method for `Ranges` which is also chosen as the default. Lag length is chosen similarly to R.