Changed to vectors in permute and interleave

Oskar, Erik. 1 hour