minor changes

- fixed a few typos in comments
- changes default value of Stream.toArray parameter
- predefined Stream generators moved into Math