works, but with |D|<=168, and precision =50
minor changes.
functional. 
changed random number generator;
integrated Apfloat patch;
optimized Reservoir sampler, 
dynamically adjust precision
save, for deleting dependencies
save
fixed max precision = 100
workable, precision fixed=100