UnaryEvalImpl now correctly permutes the output index.
- The permute test now wraps the pimpl in a DistEval container.
- Minor code improvements.
Added a permuting evaluation test for UnaryEvalImpl.