fixed accelerometer, added variable to turn it off
Merge branch 'master' of https://github.com/decwong/Cocooned