tm_a_pca function

teal module: Principal component analysis