A Novel Algorithm Design Approach for Biopotential Acquisition in Brain Machine Interface