updated readme and pca implementation in the code