test_inconsistencies function

Test the inconsistencies between variables on a dataset