This algorithm performs a principal components analysis on a group of five of the largest market cap stocks in the S&P 500. We plot the elements of the first eigenvector of the covariance matrix. The plot will give us an idea of how stable the correlations between assets are over time. We look for the values in the principal component to be relatively stable over time. The first principal component is highly correlated with the market and can give us an idea of how the assets in the universe vary both relative to the market and to each other.