Add calculation of standard deviation