Made onFrame use more of the probabilities that the Leap calculates for us.
Merge remote-tracking branch 'origin/master'

# By jineli
# Via jineli
* origin/master:
  Update brightness control
Merged with Jin's code. Added a library his new code needed.