change PBA to not use numpy

Tested on darcy.

optimized fractal algorithm took 33.61 seconds