New research could transform design of brain implants for neurological disorders to make them safer, more effective