Merge pull request #230 from heiseda/master

Consider operators based on their cost to match.