Fixed debug contours printing, which caused crash
Merge pull request #2 from mattrick/master

Fixed debug contours printing, which caused crash