Added euclidean distance to parent joints