implement bayesian findBestHNA

Tested on bennet.

optimized fractal algorithm took 20.26 seconds