Fix to std dev calculation in ping