Handle unary and binary operators in function signatures.

Closes salilab/pmi#13.