updated gravity to apply force as a function of elapsedtime between updates