Hi I would like to thank you all for your sugestions but i have figured it out
please feel free to use the below code if you are having any probs
node.Position = (New Vector3D(XP, YP, ZP)).GetInterpolated(node.Position, 0.3) ' This belongs in the while loop
There maybe a more simple way but this will do the job just fine
Tell me please if you think you know of a more simple way or just generally what you think