Fixed a bug in eval_rpn as function arguments are stored in reverse order in the rpn.So the argument vector had to be reversed.