add data output

Tested on bennet.

optimized fractal algorithm took 9.47 seconds