Moved FPT PDF computations into classes, added ExtArray class for interface