calculate standard deviation

calculate standard deviation