Fixed sum function in Vector.js since I'm dumb.