added script for finding PCA Dimensions up to some percentage of variance; modified the PCA finding scripts with repmat so that dimmension errors do not occur;
modified the code so that addpath does not appear in it;