I have some coordinates:

X-127
Y-345
Z-2

Then a second later, I have some new coordinates

X-132
Y-328
Z-1

Now, I need to come up with some sort of math aligorithm to generate a smooth curve in between these two numbers, resulting in smoother movement.