calculate standard deviation of uniform distribution