Function name: g2Test
Description:

The functions calculates the test statistic of the G^2 test of conditional independence between x and y conditional on a set of variable(s) cs without permutations.

Authors: Michail Tsagris and Manos Papadakis