Use all dem nodes
Calculate optimal parameters based on minimum total Euclidean distance