Technology and Signal Processing for Brain-Machine Interfaces