Actually allocate memory before memcpy.
Merge branch 'filter-component' of github.com:ctn-waterloo/nengo_spinnaker into filter-component