Closed-loop primitives: A method to generate and recognize reaching actions from demonstration | IEEE Conference Publication | IEEE Xplore