Make parenthesised input and order of ops work.
Merge pull request #1 from maryrosecook/master

Make parenthesised input and order of ops work.