simulate_chi_squared function simulate_chi_squared(ν:Real) -> Real Simulate \chi^2 distribution. ν: Degrees of freedom.