A reinforcement learning based software simulator for motor brain-computer interfaces