Javascript Array sub(other)
Array.prototype.sub = function(other) { return [this[0] - other[0], this[1] - other[1]] }