Recurrent neural network for ballistic actions: A study with the iCub