update correl.py

some formatting and renaming