TB_AR_test function

Computes Tiao-Box Test for Autocorrelation.