implement the PCA-computer