account for divide by zero in stats averaging
Merge pull request #6 from spra85/divide-by-zero

account for divide by zero in stats averaging