I''m running into an Array Manipulation bug that sometimes generates an extra element causing a bogus numbers to be added to the array for some odd reason. It doesn't do this all the time, but it does it sometimes. Which is of course is inconstant.

I can't quite see what I'm doing wrong, and why it is inconsistent results. There should never be a "0" in the array's, but it keeps showing up. But it only shows up if an extra element is added to the array. I tried to isolate it using Case statements, but both Array manipulation routines are doing it.

This routine example is intended to exercise Array mathematical operations. However these VI's are sometimes adding elements and inserting "0" at random times. How am I incorrectly using these Array Manipulation VI's?