added comments to correlations.py