kmeans and svdpca working