update documentation for flatten
Merge pull request #73 from danielb2/flatten.doc.update

update documentation for flatten