main: adding variance and standard deviation

We need mean, variance and standard deviation of the replicas.