Fixing standard deviation bug.
Fixing a standard deviation bug.