FIXED: sparse permute issues with row or column vactors
ADDED: more sparse permutation testing for both CSR and CSC formats