fix code to associate correct f with measured result (oops!)

Tested on darcy.

optimized fractal algorithm took 14.74 seconds