Statistical functions till 29/10

Commit 29/10