Figure 2: Block diagram of brain machine interface system.