Merge pull request #416 from rhattersley/redundant-code

Remove redundant code from PP.
Add endianness and array order info to Cube XML.
Update test results.