checkpoint - trying to get PCA in cluster.m working

Matlab's PCA function is chopping out eigenvectors. Try using
eig(cov(M)) to get a full set of eigenvectors.