Fix randomization bug (using E-5 in perl code for 10^-5)