On Computing Elastic Shape Distances between Curves in d-dimensional Space