SHF: Small: Architectural Techniques for Energy-Efficient Brain-Machine Implants