Transfer Learning for Prosthetics Using Imitation Learning