Added standard deviation algo