Sorry, went my own way with this, needing to build the code myself to understand
it. But I have something now that looks promising, using parametric functions
and solving with matrices.
I'm doing a little debugging on it now for the next couple of days.