fix error with add newtown formula
improve architecture to support multiplis formulas. Add new formula newton