Rewrote scoring formula to make it easier to read, and also to see how scores are calculated.
Reshuffled some code in the tap detection logic - appears to have improved performance a tiny little bit. Need to move more logic outside the loop.