modified summary stat calculation
Merge pull request #33 from SupunS/master

modified summary stat calculation