In Response To 'Re: Suggestions to make code run faster?'
Thanks so much! That step works like a charm! And the plot looks good.
Another issue I've run into is that if I increase the segment size higher (say 20). Then the code gets bogged down in the Do[tq....] expression (in the "end set up" section). When I look at my memory usage it keeps going up even after 10 min or so.
Thanks for the help.