Corey,
What version of LV do you have available?...the newest version, 7.1, has new analysis features included. Also, is there an online resource where I could get more information about the calculations you are trying to do? With this information, I may be able to better find pre-built code...if it exists.
-Brett