Optimization enabled deep residual neural network for motor imagery EEG signal classification