Added a new helper function to compute standard deviations with Accelerate