added some comments to AccelerometerSimpleShaker, and modified setDirection() method, using a timestamp to discard (as far as possible) secondary forces e.g. recoil.