Advances in Brain Machine Interfaces