Main loop & subroutines: kick, drift and get_acc - acceleration