Fix synapses creation from arrays for weave: the code did not use the underlying data array