Updated stest file to include PCA