Initial commit of sample statistics functions to the stat package

Indent one space.