Simple fixes to allow SOA pointer and array be passed as function argument. 

...function argument.