Fixed miscompiles for expressions used by non-linear equations
Refactored GlobalExpr, names