for i in range(len(vector2)):
        y = vector2[i]
        sumyy += y*y