added to Bourgain embedding, beginning to change PCA to node-based