acfToDf function

Computes temporal autocorrelation in a vector, and returns a dataframe for easy plotting.