fixed stat calculation and message on edge cases
Merge pull request #12 from chushao/fixingStats

Fixed the stat percent calculations