Contains statistical functions written for my own needs, that may be useful to others