code now makes correlation time series
minor name change