Never mind. Managed to do it with an even simpler solution. It is not entirely precise, but it works quite well. It isn't even shaking. Here is the code I used:
Code:
def Movement():
Object.setPosition(0,0,0)
v0 = 0
t = 0
a = 5
while t < time:
s = v0*t + 0.5*a*t**2
Object.setPosition(0,0,s)
t = t+0.0168 #Adjustement based on processing speed of computer (lazy amateur workaround)