Learning movement primitive libraries through probabilistic segmentation. (July 2017)