Infix to Postfix

This is a version of the first program supporting a variable (x), negation, parenthasis, and functions in the infix field. Integers must still be used however.
Here are the functions:
sin = s()
cos = c()
abs val. = a()
log = l()
sqr. root = r()