It's for an application I'm trying to create. If you've got a suggestion of an application I can use or if you can help me out I'd be grateful. What I posted there is about page 4 of the calculations so I don't even know if what I have is correct.

It's getting VERY messy with those last two formulas. It's a one off thing so I don't want to pay for software if I don't have to.