Updated vecadd routine to allow multiple vectors of equal length