Evaluates arbitrary expressions and variables