I'm trying to use a sub-vi that will keep a running array to calculate an average. The first time I call this sub-vi I initialize the arrays to the proper amount of elements. I set it to be reentrant but the data is not retained, all the elements are zero. What am I missing?