Shape Analysis Of Curves In Higher Dimensions