pca added

some indentation changes in sga, and pca added