Shorten motion_delay interval, which seems to lessen the divide by zero error.