This version has improved reaction time as a result of moving the trigger checkout outside of the loop used to upate the short sample array.