Add assertions that nd::array.permute is returning a view
Formatting changes
Add validity check/unit test of invalid permutations for nd::array.permute