Repairing Lesions via Kernel Adaptive Inverse Control in a Biomimetic Model of Sensorimotor Cortex