A Method to Monitor Upper Limb Movement Direction Encoding in the Corticomotor Pathway