That stuff was brow beat into me over two semesters in college. At the time I thought it was a waste, of course, but I have found many uses for it over the years. I've used it for everything from closing survey loops to adjusting gps observations and like in this case fitting odd geometry.
I used the same method, different equations though, with Cornbread to write some neat coordinate transformation stuff. Sadly though I've never been able to get a routine in vb to work, but I have several c++ routines for this sort of thing.
If the forecast for a soggy weekend holds true I'll add some notes to that, I might even be able to squeeze an article out of it.