The problem with calling in a squad of trigognomes would seem to be that a number of angles are not known. Peter's method, assuming I can produce some C code that will actually compile, seems like it will work. I hope.

pca
_________________________
Experience is what you get just after it would have helped...