 /**
 Returns a new vector that is the dot product of the both input vectors. **Use this instead of v.dot(v)**
 
-    let v1 = C4Vector(x: 1, y: 1, z: 0)
-    let v2 = C4Vector(x: -1, y: 1, z: 0)
+    let v1 = C4Vector(x: 1, y: 1)
+    let v2 = C4Vector(x: -1, y: 1)
     v1 ⋅ v2 //-> 0.0
 
 */

/**
Transforms the left-hand vector by adding the values of the right-hand vector

    let v1 = C4Vector(1,1,0)
    let v2 = C4Vector(1,0,0)
    v1 += v2 //-> v1 = {2,1,0}
*/
public func += (inout lhs: C4Vector, rhs: C4Vector) {

/**
Returns a new vector whose coordinates are the sum of both input vectors

    let v1 = C4Vector(x: 1, y: 1)
    let v2 = C4Vector(x: 1, y: 0)
    v1+v2 //-> {2,1,0}
*/
public func + (lhs: C4Vector, rhs: C4Vector) -> C4Vector {
    return C4Vector(x: lhs.x + rhs.x, y: lhs.y + rhs.y, z: lhs.z + rhs.z)
