changed to 10e-7/numeps to compute baseline