Update for ndarrayarg type
Merge pull request #77 from mwiebe/arrayarg

Switches the function call interface to use a type "ndarrayarg"