nanshe/nanshe_learner.py: Ensured neurons are written to the output group not just root.