Changed how the vectors are added up.