Added casting formulas, improved other formulas, and partially completed
tests for NumberUtil, which does the heavy lifting behind numeric
formulas.
Undid unintentional reversion of FormulaFactory and updated it for new
formulas. Converted variable names in test classes to correct style.
Test.