Learning Movement Primitive Attractor Goals and Sequential Skills from Kinesthetic Demonstrations