Avoid Math.sqrt() in ShakeDetector
Merge branch 'mkonicek-master'