PCA2D function

Principal Component Analysis of 2D data