Ship Displacement

Last few day i m working on ship displacement calculator.
i have further developed that my project.

Attached program calculate ship displacement and LCG and VCG.

But currently i can enter only single draft. …But actually I want to add series of drafts…If i add series of draft then output of first draft is getting add in second draft.becuse of that I m getting wrong result…Here loop may work or something like ‘delete previous value’ kind of trick work.

But I m weak in looping …This project is 99% done only series of draft is pending…Would anybody like to help me.?

I have attached 3 files. One is grasshopper file second is GHS file which you need to attached for reading…And third is reference cross check file…Which is the final output i m expecting.

hyd.gh (68.7 KB)
Cos20.zip (83.0 KB)

Thanks