Take dt into account for gravity calculations