Made accellorometer poll faster, added z direction to the sum.