Accelerometer

ok, it looks like it works, but i get a lot of noise with random peaks sometimes to about 50, is there anyway to handle the noise?