Moved paddarray into package.
Updated Docs, test for packaged code
Whitespace code tidy