Fixing minor bugs.
Added comments in correlations.py.