Simple stats package with common functions