Fixed bug in resample offset correction routine. Also, local offset estimation now also returns the correlation matrix.
Best sample rate ratio function, plus all offset computations now search over small windows instead