implement estamation of self-entropy

Tested on bennet.

optimized fractal algorithm took 25.32 seconds