Technology for Brain-Machine Interfaces