fix cast to 0 for long long in SimpleMovingAverage
Merge pull request #633 from birarda/inf-stats

fix for inf stat values