dot-.cor_stat function

Calculate correlation for the general stationary model