madperm function

Permutation tests for CATA data