Optimizing The Brain-Computer Interface For Spinal Cord Injury Rehabilitation