Proper-Composite Loss Functions in Arbitrary Dimensions