So I have made a little program, where i have a ball that is supposed to slowly accelerate when falling down and slowly decelerate when jumping up again. Meanwhile it is sup