Iterative learning neural network control for robot learning from demonstration