fix method of adding terms to formula
Add button to reset formula