Changed wait timer to use gyro