renamed sparse permute functions for consistancy