Network array working

- the encoders were being summed over the wrong dimension