Update to test script to better find exectuable scripts in test files
and update to exodus writer to avoid saving too many variables.
Previously, all the legs were saved to the output one leg at a time,
causing too many variables in the output for sims with lots of legs.
Now, all legs are stored as a multidimensional array.