update readme and clean pca code