Fixed bug in OutputContours.
Merge pull request #4 from ncruces/contourbug

Fixed bug in OutputContours, closes #4.