PCA method and equations