Fonction Python Moving Correlation