Ultrasonic Transducer MB1000 LV-MaxSonar-EZ0

like AWOL said, try using pwm instead of analog. Scroll down a bit on this link and you'll see the Maxbotix pwm tutorial: Arduino Playground - MaxSonar Scroll down even farther and there is also a tutorial for a mode filter to implement instead of averaging your results. Definitely start out simple and work your way up to that, though.