Array standard deviation utility