Implemented permute function. generic/permute.h is one implemnted in terms of NDIterator and special/permute.h is one specialized for TArray only