add support for NaNs in acovf, acf, pacf