fixed bug in variance calc in runningstat.