Changed get_nearest PCA calc to move to PCA dimensions.