Dimensionality reduction on complex vector spaces for dynamic weighted Euclidean distance