EEG-Based Stroke Rehabilitation: Enhancing Motor Imagery and Movement Classification