public void setXFormula(String[] formula) throws OrderException,
			ParseException, ConnectException {
		stateNum = formula.length;
		outputX.setDim(stateNum);
		if (fod == null)
			fod = new FOD(formula, this);
		else
			fod.setFormula(formula);
		if (x0 == null || x0.getRowDimension() != stateNum)
			x0 = new ColumnMatrix(stateNum);
	}