Updated UIAccelerometer to CMMotionManager - #issue 23