Structured manifolds for motion production and segmentation: a structured Kernel Regression approach