Open calculator with formula parsing and term reducing