added method to convert back equation to orignal equation, returns equation with brackets, can remove with regular expression