public static Vector3D LinearSum(Vector3D[] vecs, float[] coes) {
		Vector3D newVec = new Vector3D();
		for (int i = 0; i < vecs.length; i++) {
			newVec.x += vecs[i].x * coes[i];
			newVec.y += vecs[i].y * coes[i];
			newVec.z += vecs[i].z * coes[i];
		}
		return newVec;
	}