Refactored std_dev() lines 98-107