Implemented Eucliden Distance