Set 'stdev' to 0 if no results present

When parsing the result list to calculate the stats, if no results are
present set stdev to 0 like the other variables to avoid raising:
UnboundLocalError: local variable 'stdev' referenced before assignment
Merge pull request #42 from srxavi/master

Set 'stdev' to 0 if no results present