fixed documentation for toArray
Merge pull request #56 from cortfritz/master

fixed documentation for toArray