Docstring added
(#555)
Default changed to 'extend'
(#555)
Options to check nonnegativity and normalization added
(#555)