Simplified some code, fixed evaluation in MyParser