Shape Matching in Higher Dimensions