Update independence_test.R