Is ther a Java class that will resolve mathematical formulas that are input in the form of a string,e.g. (5 + (2 + 6)^2)/8 and return the correct numerical answer of the formula?