Removed unnecessary conditions and avoid string copying in Tokenizer::simplifyMathFunctions()