skew function

calculate the skewness of a dataset