Minor changes to correlations.py.