basicest of pca, implemented in python