Calculate Euclideian Distance