Fix motivating example.
Merge pull request #28 from Toxaris/master

Bug in motivating example