added permutation wrapper for dispatching dependency matrices