sds function

Generic function for standard deviations for each column