Thanks for the suggestion, it looks like that could do what I'm looking for. A kind tech solved the problem for me by phone -- I knew it was reading and writing the entire 100,000 element matrix to memory at each step, but I couldn't figure out how to get it to stop. A shift register brought the run time from over 2 minutes to under 1 second.
Thanks again for responding!
Message Edited by Deamiter on 11-07-2006 06:46 PM