rpcgen used, changed array parameters to references

Need to test, make sure reference passing works.  Only use with
corresponding psi46expert