Ok, but first I'd better, uh, <i>fix it</i>. I tried it out last night for a wider range of inputs than I originally needed to accomodate, and found a few that didn't work out correctly. I had made the subvi more universal than it strictly needed to be, but had primarily tested it for a fairly restricted subset of inputs.
I'll try to rewrite it as an iterative algorithm, as mentioned in my first posting. That way I could post it for sure. -Kevin P.
