Generalized frustration in the multidimensional Kuramoto model.