Corrected JavaGD dependency - still memory errors.
Removed PolynomF, mvtnorm and multcomp from imports.