added personnal method to compute standard deviation