changed 0.1 fudge factor constant to 1.0 in variance calculation (avoid sqrt of negative #)