* minor warning fixes

Mainly in statistics module doc
Merge pull request #884 from iglesias/fix-warning

* minor warning fixes