fix pep8 for PCA.py
fix pep8 for main.py
fix pep8 for ranks.py