matlab permute explanation as dimension exchange