public boolean updateVecs(Equation e, Integer i) {
		if (e.TypeSel.getSelectedIndex() == Equation.posCartLine) {
			float[] out = getInput(e.cartLInputs);
			vecs[i] = createCartLine(out);
			return true;
		}
		
		if (e.TypeSel.getSelectedIndex() == Equation.posVecLine) {
			float[] out = getInput(e.vecLInputs);
			vecs[i] = createVectorLine(out);
			return true;
		}
		
		if (e.TypeSel.getSelectedIndex() == Equation.posCartPlane) {
			float[] out = getInput(e.cartPInputs);
			vecs[i] = createCartPlane(out);
			return true;
		}
		
		if (e.TypeSel.getSelectedIndex() == Equation.posVecPlane) {
			float[] out = getInput(e.vecPInputs);
			vecs[i] = createVectorPlane(out);
			return true;
		}
		
		if (e.TypeSel.getSelectedIndex() == Equation.posNone) {
			Vector3D[] vector = new Vector3D[4];
			for (int n = 0; n < 4; n++) { vector[n] = new Vector3D(0,0,0); }
			vecs[i] = vector;
			return false;
		}
		
		return false;
	}