fix mode 3 output (change variance to standard deviation)