Bug fix for uninitialized std.dev.ub