A function to return the first dimension of PCA on an input matrix
contig_pca(X)
X
a matrix to undergo PCA
first dimension of the PCA results