Added ExpressionWriter, and updated the ModernCalc app to rewrite the formula when it is evaluated.