Update

Added new math functions.
Fixed incorrect algorithms for population variance etc.
Added more stat functions.