testChaos01 function

Function to compute 0-1 test for chaos