wtd.sd function

Calculate a weighted standard deviation