changed fractional error back to 0.03 (mistakenly set to 1e-12)