fix constructor documentation and example
Merge pull request #8 from mnlg/fix-constructor-example

Fix constructor documentation and example