I've not written any linear algebra problems (except this one, of course), so I can't speak to the available contexts or macros - but if all you want is a check for independence, then checking that the cross product of the $sVec variables is not a zero vector would be all you'd need. (e.g. `norm($sVec1 x $sVec2) != 0` etc)

### Re: Best practices for randomization

by Andrew Parker -
LOL, yes. I did some last-minute rearranging of the variables, and must have missed that line. (It should be `until ( $v . $w == 0 );` right there at the beginning...)