Accelerometer... Again

Ilia didn`t show up today (without telling me) so I decided to give the accecelerometer another try. I rewrote the averaging functions the way I wanted to do it. Last time Ilia forced me to do it his way which didn`t work as well. I got the accelerometer giving acurate readings to 1 decimal place with the calibration function holding it to 0.0 constantly. However, when we moved the accelerometer around to test it`s distance calculations the speed did not go back to 0 when we stopped. It`s definatly an improvement from what we had and maybe we can still incorporate it.