pc1 function

First Principal Component