Batch correction of Vector and Matrix function parameters to be passed
by reference ("ref")