sd function

Standard deviation