Added all statistics methods, need tests
Merge pull request #28 from CorbinFoucart/statsUpdate2

Added all statistics methods, need tests
Conflicts resolved