Produce output when using peak

Fixes issue #47
Merge pull request #51 from lbeltrame/fix-peak-output

Produce output when using peak