Detecting Neural-State Transitions Using Hidden Markov Models for Motor Cortical Prostheses | Synapse