Use pca_Reduce to reduce the X's dimension.