I wonder if it would be possible to use some kind of COM object to perform the calculations..

-genius_at_work