The Chi-Squared-Distribution - Compute and visualize in Java