Fixing typo in helpers.py

When using nengo.helpers.transform and only specifying index_pre or index_post, and not both, a NameError would occur