Neural interfaces in prosthetics