se function

Calculates standard error