Added a stat calculator