Code Clean-up: Use parameter instead of global

In quick_accel_sensor, instead of using the target variable that
is passed, we are using the global ackReply variable. That is now
fixed, making the code more modular.