fixed the bug in which the expected values is wrong.
implemented FormulaIn::evaluate().